package com.tcm.prescribe.api.service;

import com.base.core.pager.PageBean;
import com.tcm.prescribe.api.domain.dto.PrescribePhotoDTO;


public interface PrescribePhotoService {

    void save(PrescribePhotoDTO prescribePhotoDto);

    void update(PrescribePhotoDTO prescribePhotoDto);

    /**
     * 医生端拍方列表
     * @param storeId
     * @param page
     * @param pagesize
     * @return
     */
    PageBean<PrescribePhotoDTO> listPageByDoctor(Long storeId, Long page, Long pagesize);

    /**
     * 患者端拍方列表
     * @param userId
     * @param page
     * @param pagesize
     * @return
     */
    PageBean<PrescribePhotoDTO> listPageByUser(Long userId, Long page, Long pagesize);

    int deleteLogicById(Long id);

    int deleteById(Long id);

    PrescribePhotoDTO findById(Long planId);
}
